package triIndex;

public interface HashFunction {

	public int compute(String value);
}

/*
class HashResult {
	long a0, a1, a2;
	
	public HashResult(long b0, long b1, long b2) {
		a0 = b0;
		a1 = b1;
		a2 = b2;
	}
	
	public int compareTo(HashResult r) {
		if (a0 < r.a0 || a0 == r.a0 && a1 < r.a1 || a0 == r.a0 && a1 == r.a1 && a2 < r.a2)
			return -1;
		else if (a0 > r.a0 || a0 == r.a0 && a1 > r.a1 || a0 == r.a0 && a1 == r.a1 && a2 > r.a2)
			return 1;
		else
			return 0;
	}
	
	public void flush(IWriter writer) {
		writer.appendLong(a0);
		writer.appendLong(a1);
		writer.appendLong(a2);
	}
	
	public void load(IReader reader) {
		a0 = reader.readLong();
		a1 = reader.readLong();
		a2 = reader.readLong();
	}
}
*/